package com.mes.cloud.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 系统参数表
 *
 * @author Mr.zhang
 * @version 2019-08-02 10:37:18
 * @email zhangchao4@shinho.net.cn
 */
@Data
public class SysParamPageRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页", required = true)
    @NotNull(message = "当前页不能为空")
    private int currentPage;

    @ApiModelProperty(value = "每页条数", required = true)
    @NotNull(message = "每页条数不能为空")
    private int pageSize;

    @ApiModelProperty(value = "参数编码/参数名称/备注", required = false)
    private String queryString;

    @ApiModelProperty(value = "父级Id", required = false)
    private String parentId;

    @ApiModelProperty(value = "0：禁用，1：启用", required = false)
    private String enableFlag;

}
